-
Home
-
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
-
6.0.4 (latest)
-
Code
-
Classes
- CDNController
Total Complexity |
34 |
Dependencies |
1 |
Dependents |
1 |
Total lines |
237 |
Lines of code |
144 |
Logical lines of code |
88 |
Comment lines |
17 |
Methods |
12 |
Properties |
3 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
setDefaultCDNArgs() |
A |
44 |
15 |
45 |
extractMatches() |
S |
57 |
3 |
17 |
addEscapedUrls() |
S |
63 |
3 |
12 |
replaceImage() |
S |
58 |
2 |
15 |
processFront() |
S |
62 |
2 |
12 |
__construct() |
S |
63 |
2 |
11 |
getUpdatedUrls() |
S |
67 |
2 |
8 |
loadCDNDomain() |
S |
73 |
1 |
5 |
fetchMatches() |
S |
72 |
1 |
5 |
replaceContent() |
S |
72 |
1 |
5 |
findCDNArguments() |
S |
73 |
1 |
5 |
trimURL() |
S |
75 |
1 |
4 |